<template>
    <div class="service">
      <header>
        <van-icon name="arrow-left" @click="handleBack()" size="25"/>
        <span>在线客服</span>
      </header>
      <div class="content">
        <span>9:00</span>
        <span>您好,客服大耳朵刘爷爷很高兴为您服务</span>
        <div class="ser">
            <img src="https://cimg.axureshop.com/28/d0/93/28d0933e0c9f40ce99dc79bdae082541/images/在线客服/u5569.png" alt=""> 
            <span>您好有什么需要我帮助的?</span>
        </div>
        <div class="c-bot">
            <span>评价</span>
            <span>退换货</span>
            <span>物流查询</span>
            <span>售后查询</span>
        </div>
      </div>
      <div class="bot">
        <img src="https://cimg.axureshop.com/28/d0/93/28d0933e0c9f40ce99dc79bdae082541/images/在线客服/u5563.png" style="width:30px;height:32px" alt="">
        <input type="text" placeholder="请输入">
        <img src="https://cimg.axureshop.com/28/d0/93/28d0933e0c9f40ce99dc79bdae082541/images/在线客服/u5565.svg" style="width:34px;height:34px" alt="">
        <img src="https://cimg.axureshop.com/28/d0/93/28d0933e0c9f40ce99dc79bdae082541/images/在线客服/u5564.svg" style="width:28px;height:28px" alt="">
      </div>
    </div>
  </template>
  
  <script>
  export default {
    name: 'service',
    methods: {
      handleBack() {
        this.$router.back()
      },
    },
  }
  </script>
  
  <style lang="less" scoped>
    header{
      height: 44px;
      font-size: 16px;
      line-height: 44px;
      display: flex;
      justify-content: left;
      align-items: center;
      padding: 5px;
      background-color: white;

    }
    .content{
        background-color: rgba(242, 242, 242, 1);
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        position: relative;
        height: 560px;
    }

    .content>span:nth-child(1){
        width: 56px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        background-color: #999;
        border-radius: 9px;
        margin: 20px;
        font-size: 13px;
        color: white;
    }

    .content>span:nth-of-type(2){
        width: 300px;
        height: 32px;
        text-align: center;
        line-height: 32px;
        background-color: #999;
        border-radius: 16px;
        font-size: 13px;
        color: white;
        margin: 30px;
    }

    .content .ser{
        position: absolute;
        left: 0;
        top: 200px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
        box-sizing: border-box;
    }

    .content .ser span{
        width: 250px;
        height: 50px;
        background-color: white;
        display: inline-block;
        padding: 10px;
        box-sizing: border-box;
        margin-left: 10px;
        font-size: 14px;
    }

    .content .c-bot{
        position: absolute;
        bottom: 16px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }

    .content .c-bot span{
        width: 60px;
        height: 28px;
        font-size: 13px;
        border-radius: 14px;
        background-color: white;
        line-height: 28px;
        text-align: center;
    }
    .bot{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top:11px;
        background-color: white;
        box-sizing: border-box;
        height: 53px;
    }   

    .bot input{
        border-color: rgba(153, 153, 153, 1);
        border-radius: 15px;
        width: 300px;
        height: 30px;
        border-width: 1px;
        font-size: 13px;
    }
  </style>
  